t_anim_sprite Struct Reference

A sprite with animations, it got a pointer to a simple sprite, and informations needeed to anmate it. the sprite'simage is the charset, and width and height are divded by the number of animations. Remember that t_anim_sprite must be manipulated with anim_sprite functions. More...

#include <sprite.h>

Collaboration diagram for t_anim_sprite:

Collaboration graph
[legend]

Detailed Description

A sprite with animations, it got a pointer to a simple sprite, and informations needeed to anmate it. the sprite'simage is the charset, and width and height are divded by the number of animations. Remember that t_anim_sprite must be manipulated with anim_sprite functions.

Parameters:
p_sprite : regular sprite
v_anim : array of animations
animation_nb : number of animations
animation_current : current animation
number of frames in the charset on x
number of frames in the charset on y

The documentation for this struct was generated from the following file:
Generated on Tue Nov 4 21:07:26 2008 for Blastgu by  doxygen 1.5.4